Data

basic EDA

check wrangling data

check temp dist for in a random day from all year value

##   STATION_NAME
## 1          YVR

get 90th from the all year for all day value

Plot

EHF plot

##  [1] 2021 2009 1941 1942 1961 1970 1998 1997 1996 1969 2023 2006 2013

## plot given year temp dist vs baseline 90th

## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_line()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_line()`).

plot all year temp in grey vs baseline

## Warning: Removed 299 rows containing missing values or values outside the scale range
## (`geom_line()`).
## Warning: Removed 1 row containing missing values or values outside the scale range
## (`geom_line()`).
## Removed 1 row containing missing values or values outside the scale range
## (`geom_line()`).

Analyze the hw

hw dist for certain 1 year

prepare for the data

## # A tibble: 40 × 7
##    Month   Day Percentile_90 MAX_TEMP_YEAR DayOfYear Condition Cumulative_Count
##    <int> <int>         <dbl>         <dbl>     <dbl> <lgl>                <dbl>
##  1     1     4          9.61          10.4         4 TRUE                     1
##  2     1     9          9.8           10.5         9 TRUE                     1
##  3     1    10          9.82          11.1        10 TRUE                     2
##  4     1    11         10             10.2        11 TRUE                     3
##  5     1    12         10             11.3        12 TRUE                     4
##  6     3    18         13.2           14          77 TRUE                     1
##  7     3    19         13.3           15.4        78 TRUE                     2
##  8     3    20         13.3           13.7        79 TRUE                     3
##  9     3    21         13.3           16.7        80 TRUE                     4
## 10     3    22         13.3           17.3        81 TRUE                     5
## # ℹ 30 more rows

plot hw analysis for all year

plot overall count of hw through years

plot for heat map

seperate view of the heatmap

examine specific year (grep line vs 90 vs specific year)

according bar